package process.service;

import gate.Annotation;

import java.util.List;

import org.jsoup.nodes.Document;

import process.model.AnnotatedPage;
import process.model.lookup.ProductLookup;

public interface AnnieProcessService {

	public AnnotatedPage annotate(String link) throws Exception;
	
	public AnnotatedPage annotateDoc(Document doc) throws Exception;

	public List<ProductLookup> detectProduct(List<Annotation> annotations);
	
	public String getProduct(String text) throws Exception;
}